package cn.messageplus.core.test.server.controller;

import cn.messageplus.core.annotation.PathMapping;

/**
 * 聊天
 **/
@PathMapping("/test")
public class ChatController {
    @PathMapping("/1")
    public void test1() {
        System.out.println("/test/1");
    }
    @PathMapping("/2")
    public String test2(String msg) {
        System.out.println("/test/2：" + msg);
        return msg;
    }
}
